﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CompteBancaire
{
    public class Historique
    {
        private DateTime date;
        private double solde_op;
        private int id_op;
        private int compte;

        public Historique(DateTime d, double s, int c, int i)
        {
            date = d;
            solde_op = s;
            compte = c;
            id_op = i;
        }

        public double getSolde()
        {
            return solde_op;
        }

        public DateTime getDate()
        {
            return date;
        }

        public int getCompteId()
        {
            return compte;
        }

        public int getIdOp() { return id_op; }
    }
}
